查询不活跃商户身份核实结果
在代特约商户发起不活跃商户身份核实后,服务商可以通过该接口,查询特定特约商户下单笔核实单的核实结果。
请求参数 | 类型 | 描述 |
---|---|---|
sub_mchid | string | 特约商户号 |
verification_id | string | 核实单号 |
php
$instance->v3->compliance->inactiveMerchantIdentityVerification->merchants->_sub_mchid_->verifications->_verification_id_->getAsync([
'sub_mchid' => '1900009231',
'verification_id' => '28011678863778000000123124312',
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$instance->chain('v3/compliance/inactive-merchant-identity-verification/merchants/{sub_mchid}/verifications/{verification_id}')->getAsync([
'sub_mchid' => '1900009231',
'verification_id' => '28011678863778000000123124312',
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$instance['v3/compliance/inactive-merchant-identity-verification/merchants/{sub_mchid}/verifications/{verification_id}']->getAsync([
'sub_mchid' => '1900009231',
'verification_id' => '28011678863778000000123124312',
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$response = $instance->v3->compliance->inactiveMerchantIdentityVerification->merchants->_sub_mchid_->verifications->_verification_id_->get([
'sub_mchid' => '1900009231',
'verification_id' => '28011678863778000000123124312',
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance->chain('v3/compliance/inactive-merchant-identity-verification/merchants/{sub_mchid}/verifications/{verification_id}')->get([
'sub_mchid' => '1900009231',
'verification_id' => '28011678863778000000123124312',
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance['v3/compliance/inactive-merchant-identity-verification/merchants/{sub_mchid}/verifications/{verification_id}']->get([
'sub_mchid' => '1900009231',
'verification_id' => '28011678863778000000123124312',
]);
print_r(json_decode((string) $response->getBody(), true));
返回字典 | 类型 | 描述 |
---|---|---|
sub_mchid | string | 特约商户号 |
verification_id | string | 核实单号 |
state | string | 核实单状态PROCESSING | SUCCESS | FAIL 枚举值之一 |
fail_reason | string | 失败原因MATERIALS_ABNORMAL | PROCESS_TIMEOUT 枚举值之一 |
create_time | string | 创建时间 |
finish_time | string | 完成时间 |
参阅 官方文档